package com.tianyalei.wolf.mddesignlib.base.page;

/**
 * Created by wolf on 2016/4/11.
 * 分页用的
 */
public class PageBean {
    /**
     * 一页多少个
     */
    private int onePageSize = 10;
    /**
     * 当前是第几页
     */
    private int pageNum = 0;

    public PageBean(int onePageSize, int pageNum) {
        this.onePageSize = onePageSize;
        this.pageNum = pageNum;
    }

    public PageBean() {

    }

    public int getOnePageSize() {
        return onePageSize;
    }

    public void setOnePageSize(int onePageSize) {
        this.onePageSize = onePageSize;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

}
